<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> -->
    <!-- <mate name="flexibel" content="initial-drl=2"/> -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <title>精准命理测算</title>
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>  
    <![endif]-->
    <link rel="stylesheet" href="__PUBLIC__/css/YD_calendar.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/css/common.css" />
    <script
        type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1265941638'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D1265941638' type='text/javascript'%3E%3C/script%3E"));</script>

    <script type="text/javascript">
        var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_"+<!--{$channelID}-->+"'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D"+<!--{$channelID}-->+"' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <!-- <script type="text/javascript" src="__PUBLIC__/js/rempc1304.js"></script> -->
    <script src="__PUBLIC__/js/YD_calendar.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/rollSlide.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <style>
        html {
            font-size: 100px !important;
            margin: unset !important;
            min-width: unset !important;
            background-color: #fff !important;
            max-width:unset !important;
        } 
    </style>
    <style>
        body {
            background-color: #cb2316;
        }

        .zm_banner2 {
            margin: 0 0.2rem;
            font-size: 0;
        }

        .m_form_ul {
            border-radius: 0.1rem;
            overflow: hidden;
            border: 1px solid #e5d9c5;
        }

        .m_form_ul li {
            margin: 0;
            border-radius: 0;
            border-color: #e5d9c5;
            background-color: #fef8ee;
        }

        .m_form_ul li .f_left {
            color: #6f0211;
            font-weight: bold;
        }

        .m_form_btnwrap {
            height: 0.9rem;
            line-height: 0.9rem;
            background: url('__PUBLIC__/images/bzjp_img/CYZ_csbtn_yhj.png') no-repeat;
            background-size: 100% 100%;
            margin: 0 0.3rem;
            font-size: 0.36rem;
            color: #631f00;
            font-weight: bold;
        }


        .m_form_prompt {
            color: #ffffff;
            font-size: 0.28rem;
            padding: 0.2rem 0;
        }

        .m_form_prompt span {
            color: #f9d300;
        }

        .CHANNEL-tsq {
            background: url('__PUBLIC__/images/bzjp_img/CYZ_csbtn_tsq.png') 0% 0% / 100% 100% no-repeat !important;
        }

        /*  */
        video {
            width: 100%;
            height: 4rem;
            margin: 0.2rem 0;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -ms-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -o-box-sizing: border-box;
        }

        .cs_imgtext {
            margin: 0.4rem 0.2rem 0;
        }

        .list-history {
            color: #fff;
            text-decoration: underline;
            text-align: center;
            display: block;
        }

        .sub-img {
            width: 7.14rem;
            height: .91rem;
            margin: 0 auto;
            background: url('__PUBLIC__/images/bzjp_img/v5/home/anniu.png');
            background-size: 100% 100%;
        }

        .roll-wrap:hover .control {
            display: block
        }

        .roll-wrap {
            position: fixed;
            bottom: 1.5rem;
            right: 0;
            width: 2rem;
            height: .5rem;
        }

        .roll-wrap .roll__list {}

        .roll_row .roll__list::before,
        .roll_row .roll__list::after {
            content: "";
            display: table;
            line-height: 0
        }

        .roll_row .roll__list::after {
            clear: both
        }

        .roll_row .roll__list {
            width: 9999px
        }

        .roll_row .roll__list li {
            float: left;
            display: block;
            margin-right: .20rem;
            width: 1rem;
            height: .5rem;
            font-size: .3rem;
            text-align: center;
            color: #fff;
        }

        .control {
            position: absolute;
            top: 30px;
            display: none;
            padding: 10px 5px;
            font-weight: 700;
            text-decoration: none;
            color: #fff;
            background-color: rgba(0, 0, 0, .3)
        }

        .control:hover {
            background-color: rgba(0, 0, 0, .5)
        }

        .control.pre {
            left: 5px
        }

        .control.next {
            right: 5px
        }

        .roll_col {
            overflow: hidden;
            width: 3rem;
            height: .68rem;
            background-color: #9a1721;
            border-radius: .26rem 0px 0px 0;
            opacity: 0.66;
        }

        .roll_col .roll__list {
            width: 100%
        }

        .h600 {
            height: 600px
        }

        .roll_col li {
            display: block;
            height: .68rem;
            padding-left: .33rem;
            box-sizing: border-box;
            font-size: .20rem;
            text-align: center;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .roll_col li .time-ago {
            font-size: .18rem;
        }

        .roll_col .control {
            top: 80px
        }

        .form-img-title img {
            display: block;
            width: 5rem;
            display: block;
            height: .71rem;
            margin: .10rem auto;
        }

        .m_form_wrap {
            background-color: #fff;
        }
    </style>
    <style>
        body {
            width: 1304px !important;
            margin: 0 auto !important;
            background-color: #CB2316 !important;
            position: relative!important;
        }

        .bgwrap {
            margin: 0 auto;
            margin-bottom: 22px;
            position: relative;
        }

        .bgwrap0 {
            width: 100%;
            height: 318px;
            background: url('__PUBLIC__/images/bzjp_img/pc/banner.png') no-repeat center center;
            background-size: 100% 100%;
            margin-bottom: 13px;
            box-sizing: border-box;
            position: relative;
        }
        .bgwrap0 a.tohistory{
            width: 62px;
            height: 62px;
            background: url('__PUBLIC__/images/bzjp_img/pc/cesuan.png') no-repeat center center;
            background-size: 100% 100%;
            box-sizing: border-box;
            position: absolute;
            top: 18px;
            right: 70px;

        }

        .bgwrap1 {
            height: 325px;
            width: 1200px;
            background: url('__PUBLIC__/images/bzjp_img/pc/1.png') no-repeat center center;
            background-size: 100% 100%;
            padding-top: 17px;
            box-sizing: border-box;
        }

        .bgwrap2 {
            height: 825px;
            width: 1200px;
            background: url('__PUBLIC__/images/bzjp_img/pc/2.png') no-repeat center center;
            background-size: 100% 100%;
        }

        .bgwrap3 {
            height: 1282px;
            width: 1200px;
            background: url('__PUBLIC__/images/bzjp_img/pc/3.png') no-repeat center center;
            background-size: 100% 100%;
        }

        .bgwrap4 {
            height: 1282px;
            width:  1200px;
            background: url('__PUBLIC__/images/bzjp_img/pc/4.png') no-repeat center center;
            background-size: 100% 100%;
        }

        .fiex_bt {
            width: 544px;
            height: 291px;
            position: fixed;
            bottom: 0px;
            right: 0;
            left: unset;
            background-color: transparent;
            line-height: 100%;
        }

        .fiex_bt .m_form_container {
            margin-right: 0;
            margin-top: 0;
        }

        .m_form_container {
            width: 544px;
            height: 291px;
            background: url('__PUBLIC__/images/bzjp_img/pc/shuruditu.png') no-repeat center center;
            background-size: 100% 100%;
            position: absolute;
            top: 0;
            right: 0;
            padding-top: 21px;
            margin-top: 17px;
            margin-right: 24px;
            box-sizing: border-box;
        }

        .m_form_wrap {
            margin: 0;
            background-color: transparent;
        }

        ._form1,
        ._form2 {
            width: 324px;
            margin: 0 auto;
        }

        .m_form_ul {
            width: 100%;
        }

        .m_form_ul li.nonebr {
            background-color: transparent;
            border: none
        }

        .m_form_ul li .f_left {
            font-size: 18px;
            color: #333;
            padding: 0;
            min-width: 100px;
            max-width: 100px;
            text-align: center;
            line-height: 38px;
        }

        .m_form_ul li {
            width: 324px;
            line-height: 40px;
            margin: 10px 0;
            height: 40px;
            background-color: #ffffff;
            border: solid 1px #cccccc;
            box-sizing: border-box;
            margin: 10px 0;
        }

        .sub-img {
            width: 324px;
            height: 48px;
            background: url('__PUBLIC__/images/bzjp_img/pc/but.png') no-repeat center center;
            background-size: 100% 100%;
            margin-top: 10px;
        }

        .m_form_btnwrap {
            box-shadow: none;
        }

        .m_form_prompt {
            font-size: 14px;
            padding-top: 0 !important;
            margin-top: 10px;
        }

        .m_form_ul {
            border: none;
            border-radius: 0;
        }

        .m_form_ul li .f_auto input {
            font-size: 14px;

        }

        .m_form_ul li .f_left {
            width: 100px !important;
        }

        .f_auto label {
            font-size: 14px;
            color: #333;
        }

        .select {
            width: 20px;
            height: 20px;
            line-height: 20px;

            margin-right: 10px;

        }

        .f_auto label input+.select {
            border: 2px solid #333;
        }

        .f_auto label input:checked+.select {
            border: 2px solid #e44848;
        }

        .f_auto label input:checked+.select::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #e44848;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
        }

        #datetime,
        #datetime1 {
            font-size: 14px;
            background-image: url(none);
        }

        .m_form_ul li .f_auto {
            display: flex;
            align-items: center;
            height: 38px;
        }

        .f_auto label {
            height: 38px;
        }

        .m_form_ul li .f_auto input {
            width: 200px;
            line-height: 38px;
        }

        .m_form_prompt {
            color: #333;
        }

        .m_form_prompt span {
            color: #cb2316;
        }

        .footer {
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
            padding-top: 40px;
            padding-bottom: 100px;
            box-sizing: border-box;
        }

        .footer img {
            display: block;
            margin-bottom: 22px;
            background-color: #fff;
            width: 218px;
            height: 218px;
        }

        .footer p {
            color: #fff;
            font-size: 20px;
            line-height: 30px;
        }
    </style>
    <style>
        .gearDate {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .date_ctrl.slideInUp1 {
            width: 400px;
            bottom: unset;
        }
        .sub-img.m_form_btnwrap.J_formSubmit.type2.closeimg{
            display: block;
            width: 34px;
            height: 34px;
            position: absolute;
            top: 10px;
            right: 40px;
            background-image: none;
        }
        .for-pc{
            padding-bottom: 100px;
            box-sizing: border-box;
        }
    </style>
</head>

<body>
    <div class="for-pc">
        <div class="bgwrap bgwrap0">
            <a href="<!--{:U('Index/mycesuan','',false)}-->" class="tohistory"></a>
        </div>
        <div class="bgwrap bgwrap1">
            <div class="m_form_container">
                <form id="_form" class="_form1" class="m_form" action="<!--{:U('Bzjp/bzjp_zhifu','',false)}-->"
                    method="POST" id="frm">
                    <div class="m_form_wrap">
                        <ul class="m_form_ul">
                            <li class="nonebr">
                                <div class="f_left">您的性别</div>
                                <div class="f_auto">
                                    <label for="man1">
                                        <input class='gender1' type="radio" name="gender" checked="checked"
                                            style="display: none" id="man1" value="1">
                                        <span class="select"></span>男
                                    </label>
                                    <label for="woman1">
                                        <input class='gender1' type="radio" name="gender" style="display: none"
                                            id="woman1" value="0">
                                        <span class="select"></span>女
                                    </label>
                                </div>
                            </li>
                            <li>
                                <div class="f_left">出生日期</div>
                                <div class="f_auto">
                                    <div type="text" data-date="1985-04-18-7" data-id="birthday1" id="datetime">请选择出生日期
                                    </div>
                                </div>
                                <input type="hidden" id="birthday1" name="birthday">
                            </li>
                            <li>
                                <div class="f_left">您的姓名</div>
                                <div class="f_auto"><input type="text" id="username1" name="username"
                                        placeholder="匿名 (可不填)"></div>
                            </li>


                        </ul>
                    </div>
                    <if
                        condition="($channel eq tsq) OR ($channel eq lzss) OR ($channel eq gyxw) OR ($channel eq khzx) OR ($channel eq xxkj)">
                        <div class="m_form_btnwrap CHANNEL-tsq J_formSubmit"></div>
                        <elseif condition="$discount eq 1" />
                        <div class="m_form_btnwrap J_formSubmit type1">立即测算 (优惠
                            <!--{$Think.cookie.discountprice}-->元)</div>
                        <else />
                        <div class="sub-img m_form_btnwrap J_formSubmit type1"></div>
                    </if>
                    <p class="m_form_prompt">已有<span>
                            <!--{$Think.cookie.bzjpcs}-->人</span>查看八字运势详批&nbsp;&nbsp;99%好评</p>
                </form>
            </div>
        </div>
        <div class="bgwrap bgwrap2"></div>
        <div class="bgwrap bgwrap3"></div>
        <div class="bgwrap bgwrap4"></div>
        <!-- <div class="footer">
            <img src="__PUBLIC__/images/bzjp_img/pc/erweim.png" alt="" class="qr">
            <p>打开手机微信“扫一扫”扫描上方二维码。</p>
            <p>及时把握有利时机，走好人生的每一步。</p>
        </div> -->
    </div>

    <!-- 脚注 -->

    <div class="fiex_bt" id="fiex">
        <div class="m_form_container">
            <img class="sub-img m_form_btnwrap J_formSubmit type2 closeimg" src="__PUBLIC__/images/bzjp_img/pc/del.png" alt="">
            <form id="_form" class="_form2" class="m_form" action="<!--{:U('Bzjp/bzjp_zhifu','',false)}-->"
                method="POST" id="frm">
                <div class="m_form_wrap">
                    <ul class="m_form_ul">
                        <li class="nonebr">
                            <div class="f_left">您的性别</div>
                            <div class="f_auto">
                                <label for="man2">
                                    <input type="radio" name="gender" class='gender2' checked="checked"
                                        style="display: none" id="man2" value="1">
                                    <span class="select"></span>男
                                </label>
                                <label for="woman2">
                                    <input type="radio" class='gender2' name="gender" style="display: none" id="woman2"
                                        value="0">
                                    <span class="select"></span>女
                                </label>
                            </div>
                        </li>


                        <li>
                            <div class="f_left">出生日期</div>
                            <div class="f_auto">
                                <div type="text" data-date="1985-04-18-7" data-id="birthday2" id="datetime1">请选择出生日期
                                </div>
                            </div>
                            <input type="hidden" id="birthday2" name="birthday">
                        </li>
                        <li>
                            <div class="f_left">您的姓名</div>
                            <div class="f_auto"><input type="text" id="username2" name="username"
                                    placeholder="匿名 (可不填)"></div>
                        </li>
                    </ul>
                </div>
                <if
                    condition="($channel eq tsq) OR ($channel eq lzss) OR ($channel eq gyxw) OR ($channel eq khzx) OR ($channel eq xxkj)">
                    <div class="m_form_btnwrap CHANNEL-tsq J_formSubmit"></div>
                    <elseif condition="$discount eq 1" />
                    <div class="m_form_btnwrap J_formSubmit  type2">立即分析 (优惠
                        <!--{$Think.cookie.discountprice}-->元)</div>
                    <else />
                    <div class="sub-img m_form_btnwrap J_formSubmit type2"></div>
                </if>
                <p class="m_form_prompt">已有<span>
                        <!--{$Think.cookie.bzjpcs}-->人</span>查看八字运势详批&nbsp;&nbsp;99%好评</p>
            </form>
        </div>
    </div>

    <script>
        var calendar1 = new lCalendar().init('#datetime');//男
        var calendar2 = new lCalendar().init('#datetime1');//男
        //测算底部悬浮
        $(function () {
            var topShow = $(".J_formSubmit");
            if (topShow.length) {
                var topShow = topShow.offset().top;
                var testBtn = $("#fiex");
                $(window).scroll(function () {
                    var wt = $(window).scrollTop();
                    wt > topShow ? (testBtn.fadeIn(), $('.footer_severs').css('padding-bottom', '1.2rem')) : (testBtn.fadeOut(), $('.footer_severs').css('padding-bottom', '0.4rem'));
                });
                goTop
                $('#fiex').on('click', function () { $('html,body').animate({ scrollTop: $('#scrollT')[0].offsetTop }, 500) });
            }

            $.getJSON("<!--{:U('Index/indexXfan','',false)}-->", { csName: 'JP' }, function (data) {//首页-悬浮按钮统计
            });

        });

        $(".J_formSubmit").on('click', function (e) {

            $.getJSON("<!--{:U('Index/indexLjcs','',false)}-->", { csName: 'JP' }, function (data) {//首页-立即测算统计
            });

            var type = e.target.className.match(/\d/)[0]
            var nameid = '#username' + type
            var sexid = '.gender' + type
            var bid = '#birthday' + type
            if ($(nameid).val() == "") {
                $(nameid).val('匿名');
                //                    layer.msg("请输入您的名字");
                //                    return false;
            } else if ($(nameid).val().length < 2) {
                layer.msg("姓名长度不能少于2");
                return false;
            }else if($(nameid).val().length > 6){
                layer.msg("姓名长度过长");
                return false;
            }
            var patrn = /[\u4E00-\u9FA5]/gi;
            if (!patrn.exec($(nameid).val())) {
                layer.msg("请输入中文名字");
                return false;
            }
            if ($(bid).val() == "") {
                // layer.msg("请选择生时");
                $(bid).val('0-1975-01-01-12')
            }
            var birthday = $(bid).val();
            var username = $(nameid).val();
            var gender = $(sexid).val();
            $(sexid).each((index, val) => {
                if (val.checked) {
                    gender = val.value
                }
            })

            if (!birthday || !username || !gender) {
                layer.msg("请重新提交信息");
                return false;
            }
            // console.log(birthday,username,gender)
            // return
            var oli = layer.load();
            setTimeout(function () {
                layer.closeAll('loading');
                layer.msg('订单提交成功', { icon: 1 });
                setTimeout(function () {
                    var id = '._form' + type
                    $(id).submit();
                }, 1300);
            }, 1000);
        });

        sessionStorage.setItem("chufa", 1);
        var wxlogin = '<!--{$Think.cookie.wxlogin}-->';
        var channel = '<!--{$Think.cookie.channel}-->';
        //if (wxlogin == 1) {

        wx.config({
            debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
            appId: '<!--{$appid}-->', // 必填，公众号的唯一标识
            timestamp: '<!--{$timestamp}-->', // 必填，生成签名的时间戳
            nonceStr: '<!--{$noncestr}-->', // 必填，生成签名的随机串
            signature: '<!--{$signature}-->',// 必填，签名，见附录1
            jsApiList: [
                'checkJsApi',
                'openLocation',
                'getLocation',
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'scanQRCode'
            ] // 必填，需要使用的JS接口列表，所有JS接 口列表见附录2
        });

        $('#c').rollSlide({
            orientation: 'top',
            num: 1,
            v: 1500,
            //space: 500,
            isRoll: true
        });
        wx.ready(function () {
            // config信息验证后会执行ready方法，所有接口调用都必须在config接口获得结果之后，config是一个客户端的异步操作，所以如果需要在页面加载时就调用相关接口，
            // 则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口，则可以直接调用，不需要放在ready函数中。
            //         alert('成功');
            wx.onMenuShareAppMessage({//分享朋友圈
                title: '<!--{$shareTitle}-->', // 分享标题
                desc: '专业命盘精论流年运势，一次掌握一年中整体、桃花婚姻、财运工作、健康家庭等运势的吉凶变化。点出你的八字旺弱、五行喜忌，近12个月的每月运势好坏预测，助你在婚恋、工作、事业中及时调整方向大展身手，如鱼得水。', // 分享描述
                link: '<!--{$JPwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://www.xzcircle.com:8081/xz/images/09_.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                    $.getJSON("<!--{:U('Bzjp/wxShare','',false)}-->", function (data) {//回调入库
                    });
                    if (channel == 'qudao100') {
                        location.href = "<!--{:U('Bzjp/userWx','',false)}-->";
                    }
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                }
            });

            wx.onMenuShareTimeline({
                title: '<!--{$shareTitle}-->', // 分享标题
                desc: '专业命盘精论流年运势，一次掌握一年中整体、桃花婚姻、财运工作、健康家庭等运势的吉凶变化。点出你的八字旺弱、五行喜忌，近12个月的每月运势好坏预测，助你在婚恋、工作、事业中及时调整方向大展身手，如鱼得水。', // 分享描述
                link: '<!--{$JPwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://www.xzcircle.com:8081/xz/images/09_.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                    $.getJSON("<!--{:U('Bzjp/wxShare','',false)}-->", function (data) {//回调入库
                    });
                }

            });

            wx.onMenuShareQQ({
                title: '<!--{$shareTitle}-->', // 分享标题
                desc: '专业命盘精论流年运势，一次掌握一年中整体、桃花婚姻、财运工作、健康家庭等运势的吉凶变化。点出你的八字旺弱、五行喜忌，近12个月的每月运势好坏预测，助你在婚恋、工作、事业中及时调整方向大展身手，如鱼得水。', // 分享描述
                link: '<!--{$JPwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://www.xzcircle.com:8081/xz/images/09_.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.onMenuShareQZone({
                title: '<!--{$shareTitle}-->', // 分享标题
                desc: '专业命盘精论流年运势，一次掌握一年中整体、桃花婚姻、财运工作、健康家庭等运势的吉凶变化。点出你的八字旺弱、五行喜忌，近12个月的每月运势好坏预测，助你在婚恋、工作、事业中及时调整方向大展身手，如鱼得水。', // 分享描述
                link: '<!--{$Think.cookie.JPwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/09.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.onMenuShareWeibo({
                title: '<!--{$shareTitle}-->', // 分享标题
                desc: '专业命盘精论流年运势，一次掌握一年中整体、桃花婚姻、财运工作、健康家庭等运势的吉凶变化。点出你的八字旺弱、五行喜忌，近12个月的每月运势好坏预测，助你在婚恋、工作、事业中及时调整方向大展身手，如鱼得水。', // 分享描述
                link: '<!--{$Think.cookie.JPwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/09.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.error(function (res) {
                // config信息验证失败会执行error函数，如签名过期导致验证失败，具体错误信息可以打开config的debug模式查看，也可以在返回的res参数中查看，对于SPA可以在这里更新签名
                //         alert('失败');
            });

            var appid = "<!--{$appId}-->";
            if (appid != '') {
                WeixinJSBridge.invoke(
                    'getBrandWCPayRequest', {
                    "appId": "<!--{$appId}-->",     //公众号名称，由商户传入
                    "timeStamp": "<!--{$timeStamp}-->",         //时间戳，自1970年以来的秒数
                    "nonceStr": "<!--{$nonceStr}-->", //随机串
                    "package": "<!--{$package}-->",
                    "signType": "<!--{$signType}-->",         //微信签名方式：
                    "paySign": "<!--{$paySign}-->" //微信签名
                },
                    function (res) {
                        if (res.err_msg == "get_brand_wcpay_request:ok") {
                            location.href = "<!--{:U('Bzjp/jieguoye','',false)}-->";
                        }     // 使用以上方式判断前端返回,微信团队郑重提示：res.err_msg将在用户支付成功后返回    ok，但并不保证它绝对可靠。
                    }
                );

            }

        });
       // }


    </script>
</body>

</html>